package com.pwt;

import com.pwt.repository.base.DataJpaRepository;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableCaching
@EnableJpaRepositories(value = "com.pwt", repositoryBaseClass = DataJpaRepository.class)
@Configuration
@EnableScheduling
@EnableAsync
public class QingshanApplication {
    public static void main(String[] args) {
        SpringApplication.run(QingshanApplication.class,args);
    }
}
